<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/css/header.css"/>" />
<style>
a.disabled {
	pointer-events: none;
	cursor: default;
}
</style>
<div class="navbar navbar-default">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="<c:url value="/login"/>">Phone
				Station</a>
			<%-- 			<c:if test="${not empty user}"> --%>
			<%-- 				<a class="navbar-brand" href="<c:url value="/client/list" />">View --%>
			<!-- 					Clients</a> -->
			<%-- 			</c:if> --%>
		</div>
		<ul class="nav navbar-nav navbar-right">
			<c:if test="${not empty user}">
				<li><a class="disabled" href="">${user.firstname}&#032;${user.lastname}&#032;(${user.login})</a></li>
			</c:if>

			<li><a href="<c:url value="/home" />">Home</a></li>

			<c:if test="${empty user}">
				<li><a href="<c:url value="/login"/>">Log In</a></li>
				<li><a href="<c:url value="/registration"/>">Registration</a></li>
			</c:if>
			<c:if test="${not empty user}">
				<li><a href="<c:url value="/logout"/>">Logout</a></li>
			</c:if>
		</ul>
	</div>
</div>